﻿#region Using
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
#endregion

namespace RubikSolve {
    class MainMenu:Screen {
        Texture2D bgMainMenu;
        Button load, create, solve;

        public MainMenu(RubikSolver game):base(game)
        {

        }

        public override void init()
        {

        }

        public override void loadAssets()
        {
            load = new Button(Content.Load<Texture2D>("load_game_button"));
            load.setPosition(new Vector2(200f, 200f));
        }

        public override void disposeAssets()
        {

        }

        public override void update()
        {
            graphics.GraphicsDevice.Clear(Color.Gray);  // Default Background Color
            game.spriteBatch.Begin();
            game.spriteBatch.Draw(load.img, load.position, Color.White);
            game.spriteBatch.End();
        }

        public override void present ()
        {
            
        }
    }
}
